package aam.model.board;

import org.springframework.web.multipart.MultipartFile;

import aam.model.member.MemberVO;

public class BoardVO {
	private int no;
	private String title;
	private String content;
	private String writeDate;
	private int viewCount;
	private int page;
	private String boardKind;
	private String boardName;
	private String genre;
	private MultipartFile uploadFile;
	private String orgFileName;
	private String newFileName;
	private MemberVO memberVO;
	public BoardVO() {
		super();
	}
	public BoardVO(int no, String title, String content, String writeDate,
			int viewCount, int page, String boardKind, String boardName,
			String genre, MultipartFile uploadFile, String orgFileName,
			String newFileName, MemberVO memberVO) {
		super();
		this.no = no;
		this.title = title;
		this.content = content;
		this.writeDate = writeDate;
		this.viewCount = viewCount;
		this.page = page;
		this.boardKind = boardKind;
		this.boardName = boardName;
		this.genre = genre;
		this.uploadFile = uploadFile;
		this.orgFileName = orgFileName;
		this.newFileName = newFileName;
		this.memberVO = memberVO;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getWriteDate() {
		return writeDate;
	}
	public void setWriteDate(String writeDate) {
		this.writeDate = writeDate;
	}
	public int getViewCount() {
		return viewCount;
	}
	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public String getBoardKind() {
		return boardKind;
	}
	public void setBoardKind(String boardKind) {
		this.boardKind = boardKind;
	}
	public String getBoardName() {
		return boardName;
	}
	public void setBoardName(String boardName) {
		this.boardName = boardName;
	}
	public String getGenre() {
		return genre;
	}
	public void setGenre(String genre) {
		this.genre = genre;
	}
	public MultipartFile getUploadFile() {
		return uploadFile;
	}
	public void setUploadFile(MultipartFile uploadFile) {
		this.uploadFile = uploadFile;
	}
	public String getOrgFileName() {
		return orgFileName;
	}
	public void setOrgFileName(String orgFileName) {
		this.orgFileName = orgFileName;
	}
	public String getNewFileName() {
		return newFileName;
	}
	public void setNewFileName(String newFileName) {
		this.newFileName = newFileName;
	}
	public MemberVO getMemberVO() {
		return memberVO;
	}
	public void setMemberVO(MemberVO memberVO) {
		this.memberVO = memberVO;
	}
	@Override
	public String toString() {
		return "BoardVO [no=" + no + ", title=" + title + ", content="
				+ content + ", writeDate=" + writeDate + ", viewCount="
				+ viewCount + ", page=" + page + ", boardKind=" + boardKind
				+ ", boardName=" + boardName + ", genre=" + genre
				+ ", uploadFile=" + uploadFile + ", orgFileName=" + orgFileName
				+ ", newFileName=" + newFileName + ", memberVO=" + memberVO
				+ "]";
	}

	
}